package com.jiuyue.demo.service;

import java.util.List;

import com.jiuyue.demo.entity.ExternalUser;

public interface UserService {

	 String saveAllUser();
	 List<ExternalUser> getAll();
	 ExternalUser getUserById( String  id);
     //用户名精确查找
	 List<ExternalUser> getUserByName(String userName);
     //用户名模糊查询
	 List<ExternalUser> getUserLikeName(String userName);
     //分页查询用户
	 List<ExternalUser> getUserBypage(int pageNum, int pageSize);
	 //修改用户
	 String updateUser(ExternalUser externalUser);
	 //根据id删除用户
	 String deleteUserById(String id);
	 //存储日志库
	 String saveLogUser();
	 //根据日期范围查找数据
	 int getOpenCount();

}
